package com.yan.club;

import com.yan.club.handler.GlobalExceptionHandler;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;

/**
 * @author 彦
 * @since 2023/12/11 15:44
 */
@SpringBootApplication
@EnableDiscoveryClient
@Import(GlobalExceptionHandler.class)
public class ClubGateWayApplication {
    public static void main(String[] args) {
        SpringApplication.run(ClubGateWayApplication.class);
    }

}
